/**
*  \file    pal_endian.h
*
*  \brief   Endian definition.
*
*  \author  Michael J. Hohmann <michael.hohmann@linde-mh.de>
*
*
*/
#ifndef PAL_ENDIAN_H_INCLUDED
#define PAL_ENDIAN_H_INCLUDED

/*================================================[ public includes  ]================================================*/
#include "../cfg/prj.h"

/*================================================[ public defines   ]================================================*/

/** Big Endian Constant.
*
*  The macro PAL_ENDIAN_BIG is used as constant for PAL_ENDIAN on big endian machines.
*/
#define PAL_ENDIAN_BIG     1

/** Little Endian Constant
*
*  The macro PAL_ENDIAN_LITTLE is used as constant for PAL_ENDIAN on little endian machines.
*/
#define PAL_ENDIAN_LITTLE  2

/** Platform endian definition.
*
*  This define is set to PAL_ENDIAN_BIG for gig endian machines or
*  PAL_ENDIAN_LITTLE on little endian machines.
*
*/
#define PAL_ENDIAN        PAL_ENDIAN_LITTLE

/*================================================[ public datatypes ]================================================*/

/*================================================[ public variables ]================================================*/

/*================================================[ public functions ]================================================*/

/*====================================================================================================================*/

#endif

/***********************************************************************************************************************
*                             Copyright 2011 Linde Material Handling. All rights reserved.                             *
***********************************************************************************************************************/
